package com.xiaojun.whut.Repository;

import com.xiaojun.whut.Entity.Comment;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentRepository extends JpaRepository<Comment,Integer> {
    List<Comment> findByCardMessageId(int cardMessageId);
}
